struct s_buffer {
	char ** messages;
	int count;
	int fd;
};

struct s_buffer* buffer_init (int fd);
void buffer_flush(struct s_buffer* buffer);
void buffer_write(struct s_buffer* buffer,char* message,int length);
void buffer_finish (struct s_buffer* buffer);
